namespace BXS.API.Models
{
    /// <summary>
    /// 轮播图模型
    /// </summary>
    public class Banner
    {
        /// <summary>
        /// 轮播图ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; } = string.Empty;

        /// <summary>
        /// 图片URL
        /// </summary>
        public string Image { get; set; } = string.Empty;

        /// <summary>
        /// 链接地址
        /// </summary>
        public string Link { get; set; } = string.Empty;

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; } = "active";

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; } = string.Empty;
    }

    /// <summary>
    /// 轮播图创建请求
    /// </summary>
    public class CreateBannerRequest
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; } = string.Empty;

        /// <summary>
        /// 图片URL
        /// </summary>
        public string Image { get; set; } = string.Empty;

        /// <summary>
        /// 链接地址
        /// </summary>
        public string Link { get; set; } = string.Empty;

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; } = "active";
    }

    /// <summary>
    /// 轮播图更新请求
    /// </summary>
    public class UpdateBannerRequest : CreateBannerRequest
    {
        /// <summary>
        /// 轮播图ID
        /// </summary>
        public int Id { get; set; }
    }
} 